package com.control.qct.businesssteward.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/3/21 0021.
 */

public class DoPayPromotionGoodsModel implements Serializable {


    private int type;
    private String description;
    private int selectWay;
    private String marketingSN;
    private String marketingDescription;
    private List<ItemsBean> items;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getSelectWay() {
        return selectWay;
    }

    public void setSelectWay(int selectWay) {
        this.selectWay = selectWay;
    }

    public String getMarketingSN() {
        return marketingSN;
    }

    public void setMarketingSN(String marketingSN) {
        this.marketingSN = marketingSN;
    }

    public String getMarketingDescription() {
        return marketingDescription;
    }

    public void setMarketingDescription(String marketingDescription) {
        this.marketingDescription = marketingDescription;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    public static class ItemsBean {
        /**
         * description : AT202二级铁观音×1 盒
         * id : 368
         * imageBigUrl : null
         * imageSmallUrl : null
         * barcode : 6901049102028
         * productCode : 000021
         * title : AT202二级铁观音
         * unit : 盒
         * categoryTitle : 特产/茶叶/其他
         * sysPrice : 18
         * preferentialPrice : 18
         * number : 1
         * state : 已上架
         */

        private String description;
        private int id;
        private String imageBigUrl;
        private String imageSmallUrl;
        private String barcode;
        private String productCode;
        private String title;
        private String unit;
        private String categoryTitle;
        private double sysPrice;
        private double preferentialPrice;
        private int number;
        private String state;
        private boolean isChecked;

        public boolean isChecked() {
            return isChecked;
        }

        public void setChecked(boolean checked) {
            isChecked = checked;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getImageBigUrl() {
            return imageBigUrl;
        }

        public void setImageBigUrl(String imageBigUrl) {
            this.imageBigUrl = imageBigUrl;
        }

        public String getImageSmallUrl() {
            return imageSmallUrl;
        }

        public void setImageSmallUrl(String imageSmallUrl) {
            this.imageSmallUrl = imageSmallUrl;
        }

        public String getBarcode() {
            return barcode;
        }

        public void setBarcode(String barcode) {
            this.barcode = barcode;
        }

        public String getProductCode() {
            return productCode;
        }

        public void setProductCode(String productCode) {
            this.productCode = productCode;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getCategoryTitle() {
            return categoryTitle;
        }

        public void setCategoryTitle(String categoryTitle) {
            this.categoryTitle = categoryTitle;
        }

        public double getSysPrice() {
            return sysPrice;
        }

        public void setSysPrice(double sysPrice) {
            this.sysPrice = sysPrice;
        }

        public double getPreferentialPrice() {
            return preferentialPrice;
        }

        public void setPreferentialPrice(double preferentialPrice) {
            this.preferentialPrice = preferentialPrice;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        @Override
        public String toString() {
            return "ItemsBean{" +
                    "description='" + description + '\'' +
                    ", id=" + id +
                    ", imageBigUrl='" + imageBigUrl + '\'' +
                    ", imageSmallUrl='" + imageSmallUrl + '\'' +
                    ", barcode='" + barcode + '\'' +
                    ", productCode='" + productCode + '\'' +
                    ", title='" + title + '\'' +
                    ", unit='" + unit + '\'' +
                    ", categoryTitle='" + categoryTitle + '\'' +
                    ", sysPrice=" + sysPrice +
                    ", preferentialPrice=" + preferentialPrice +
                    ", number=" + number +
                    ", state='" + state + '\'' +
                    ", isChecked=" + isChecked +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "DoPayPromotionGoodsModel{" +
                "type=" + type +
                ", description='" + description + '\'' +
                ", selectWay=" + selectWay +
                ", marketingSN='" + marketingSN + '\'' +
                ", marketingDescription='" + marketingDescription + '\'' +
                ", items=" + items +
                '}';
    }
}
